package com.longdaji.decoration.ui.activitiesOfMine.accountManagement.changePhone;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;

/**
 * Created by Kanade on 2018/1/23 0023.
 */

public interface ChangePhoneContract {
    interface View extends BaseView {
        void showSendVerification();

        void showResult(boolean isSucceed);

        void showIllegalTelephone();

        void showCodeError();

    }

    interface Presenter extends BasePresenter<View> {
        void onGetCodeClick(String newTelephone);

        void onConfirmClick(String newTelephone, String code);
    }
}
